#!/usr/bin/env python
# encoding: utf-8
# @author: liusir
# @file: demo_05.py
# @time: 2022/11/13 11:25 AM

import re
import jsonpath

str_01 = 'abc123kk'
value = re.findall( 'c(.+?)k',str_01 )[0]
print( value )

json_data = {"name":"xiaoming","age":22}
value = jsonpath.jsonpath( json_data,'$.age' )[0]
print( value )
